local heng__guwu = fk.CreateSkill {
  name = "heng__guwu",
}

Fk:loadTranslationTable{
  ["heng__guwu"] = "鼓舞",
  [":heng__guwu"] = "出牌阶段限一次，你可以令一名角色摸两张牌并弃置两张手牌。",
  ["#heng__guwu-choose"] = "鼓舞：你可以令一名角色摸两张牌并弃置两张牌",
}

heng__guwu:addEffect("active", {
  max_phase_use_time = 1,
  target_num = 1,
  prompt = "#heng__guwu-choose",

  target_filter = function(self, player, to_select, selected)
    if not to_select:isAlive() then
        return false
    end
    return #selected == 0
  end,
  
  on_use = function(self, room, effect)
    local target = effect.tos[1]

    room:drawCards(target, 2, heng__guwu.name)

    if not target.dead then
      room:askToDiscard(target, {
      skill_name = heng__guwu.name,
      cancelable = false,
      min_num = 2,
      max_num = 2,
      include_equip = false,
      })
    end
  end,
})

return heng__guwu